package org.jeecg.modules.travel.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 主题分类
 * @Author: jeecg-boot
 * @Date:   2025-04-19
 * @Version: V1.0
 */
@Data
@TableName("jh_theme")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="主题分类")
public class JhTheme implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**父级id*/
	@Excel(name = "父级id", width = 15)
    @Schema(description = "父级id")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String parentId;
	/**编号*/
	@Excel(name = "编号", width = 15)
    @Schema(description = "编号")
    private String themeCode;
	/**主题名称*/
	@Excel(name = "主题名称", width = 15)
    @Schema(description = "主题名称")
    private String themeName;
	/**图标*/
	@Excel(name = "图标", width = 15)
    @Schema(description = "图标")
    private String themeIcon;
	/**层级深度(0开始)*/
	@Excel(name = "层级深度(0开始)", width = 15)
    @Schema(description = "层级深度(0开始)")
    private Integer themeLevel;
	/**完整路径路由*/
	@Excel(name = "完整路径路由", width = 15)
    @Schema(description = "完整路径路由")
    private String themePath;
	/**排序权重*/
	@Excel(name = "排序权重", width = 15)
    @Schema(description = "排序权重")
    private String sortOrder;
}
